<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtquicklayouts-index.qdoc -->
  <title>Qt Quick Layouts | Qt Quick 5.12.3</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.12</a></td><td ><a href="qtquick-index.html">Qt Quick</a></td><td >Qt Quick Layouts</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtquick-index.html">Qt 5.12.3 参考指南</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">目录</a></h3>
<ul>
<li class="level1"><a href="#licenses">许可证</a></li>
<li class="level1"><a href="#layouts">布局</a></li>
<li class="level1"><a href="#related-information">相关信息</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Quick <span lang="zh-cn">布局器</span></h1>
<span class="subtitle"></span>
<!-- $$$qtquicklayouts-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt快速布局是一组QML类型，用于在用户界面中安排项目。与<a href="qtquick-positioning-layouts.html">定位器</a>相比，Qt 
Quick <span lang="zh-cn">布局器</span>还可以调整其项目的大小。这使得它们非常适合可调整大小的用户界面。由于布局是可以嵌套的项。</p>
<p>该模块是Qt 5.1中新增的，需要<a href="qtquick-index.html">Qt Quick</a> 2.1。</p>
<p>访问<a href="qtquicklayouts-overview.html">Qt Quick布局器概述</a>页面开始。</p>
<h2 id="licenses">许可证</h2>
<p>Qt快速布局在<a href="http://www.qt.io/about-us/">Qt公司</a>的商业许可下可用。此外，它是在自由软件许可下可用的。从Qt 
5.4开始，这些自由软件许可证是<a href="http://www.gnu.org/licenses/lgpl-3.0.html">GNU较小通用公共许可证，版本3</a>或<a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU通用公共许可证，版本2</a>。更多细节请参阅<a href="../qtdoc/licensing.html">Qt许可</a>。</p>
<h2 id="layouts">布局</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-layouts-columnlayout.html">ColumnLayout</a></p></td><td class="tblDescr"><p>
	与GridLayout相同，但只有一列</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-layouts-gridlayout.html">GridLayout</a></p></td><td class="tblDescr"><p>
	提供在网格中动态排列项的方法</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-layouts-layout.html">Layout</a></p></td><td class="tblDescr"><p>
	提供压入GridLayout、RowLayout或ColumnLayout的项的附加属性</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-layouts-rowlayout.html">RowLayout</a></p></td><td class="tblDescr"><p>
	与GridLayout相同，但只有一行</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-layouts-stacklayout.html">StackLayout</a></p></td><td class="tblDescr"><p>
	一堆物品，每次只显示一个物品</p></td></tr>
</table></div>
<h2 id="related-information">相关信息</h2>
<ul>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquicklayouts-overview.html">Qt Quick <span lang="zh-cn">布局概述</span></a></li>
<li><a href="qtquick-layouts-example.html">Qt Quick <span lang="zh-cn">布局 - 基本示例</span></a></li>
<li><a href="qtquick-layouts-qmlmodule.html">Qt Quick <span lang="zh-cn">
布局器QML类型</span></a></li>
</ul>
</div>
<!-- @@@qtquicklayouts-index.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
